6f2f4aa5db7b4cbd9f88e02badf52bf7066b0cbc,sonar-plugin-api/src/test/java/org/sonar/api/config/PropertyDefinitionsTest.java,PropertyDefinitionsTest,should_group_by_category,#,94
Before Change
public void should_group_by_category() {
PropertyDefinitions def = new PropertyDefinitions(
PropertyDefinition.build("global1").name("Global1").category("catGlobal1").global(true).project(false).module(false).build(),
PropertyDefinition.build("global2").name("Global2").category("catGlobal1").global(true).project(false).module(false).build(),
PropertyDefinition.build("global3").name("Global3").category("catGlobal2").global(true).project(false).module(false).build(),
PropertyDefinition.build("project").name("Project").category("catProject").global(false).project(true).module(false).build(),
PropertyDefinition.build("module").name("Module").category("catModule").global(false).project(false).module(true).build(),
After Change
public void should_group_by_category() {
PropertyDefinitions def = new PropertyDefinitions(
PropertyDefinition.build("global1").name("Global1").category("catGlobal1").global(true).build(),
PropertyDefinition.build("global2").name("Global2").category("catGlobal1").global(true).build(),
PropertyDefinition.build("global3").name("Global3").category("catGlobal2").global(true).build(),
PropertyDefinition.build("project").name("Project").category("catProject").global(false).qualifiers(Qualifiers.PROJECT).build(),
PropertyDefinition.build("module").name("Module").category("catModule").global(false).qualifiers(Qualifiers.MODULE).build(),